#include<stdio.h>
    

int sum(int x ,int y)
{
    int sum =0;
    int i=x;
    for( ; i<= y ;i++)
    {
        sum+=i;
    }
return sum;
}

int main()
{
    printf("process is running\n");
    

    int begin=1;
    int end=100;
    int result = sum(begin, end);
    printf("sum is %d\n" ,result);

    return 0;
}
